<html>
<head><meta charset="utf-8"><title>XPACI · t-compiler/arm · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/index.html">t-compiler/arm</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/XPACI.html">XPACI</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="203043667"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242906-t-compiler/arm/topic/XPACI/near/203043667" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> aspen <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/XPACI.html#203043667">(Jul 06 2020 at 21:36)</a>:</h4>
<p>Would it be possible to modify rustc to, on a specific target triple, to use "XPACI" instructions before calling ANY extern (non-Rust) pointer?</p>



<a name="203044660"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242906-t-compiler/arm/topic/XPACI/near/203044660" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/XPACI.html#203044660">(Jul 06 2020 at 21:47)</a>:</h4>
<p>Whether an fn pointer comes from an external library isn't known statically, so you need to be fine with some Rust calls also getting it</p>



<a name="203044682"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242906-t-compiler/arm/topic/XPACI/near/203044682" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/XPACI.html#203044682">(Jul 06 2020 at 21:47)</a>:</h4>
<p>And you probably need an LLVM feature that does this, I suppose</p>



<a name="203047643"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242906-t-compiler/arm/topic/XPACI/near/203047643" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> aspen <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/XPACI.html#203047643">(Jul 06 2020 at 22:21)</a>:</h4>
<p>yeah I just wanna vomit XPACI calls onto every instruction pointer</p>



<a name="203047650"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242906-t-compiler/arm/topic/XPACI/near/203047650" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> aspen <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/XPACI.html#203047650">(Jul 06 2020 at 22:21)</a>:</h4>
<p>easier than actual PAC support.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>